<template>
  <div class="content">
    <div class="head">
      <div class="head_img">
        <img
          :src="this.figureList[1]"
          alt=""
        >
      </div>
      <div class="head_text">
        <div class="name">OMINI.BASS</div>
        <div class="time">2019-7-2</div>
      </div>
    </div>
    <div class="text">
      <p>这个耳环很百搭，各种场合都适合，可以搭裙子裤子都可以，大圆环会比较修饰脸型吧我觉得。做工精致，细节设计得很好，一副好的耳饰真的很加分
      </p>
    </div>
    <div class="picture">
      <div
        class="img_box"
        v-for="item in this.figureList"
        :key="item"
      >
        <img
          :src="item"
          alt=""
        >
      </div>
    </div>
  </div>

</template>

<script>
import { mapState } from 'vuex'
export default {
  computed: {
    ...mapState(['figureList'])
  },

}
</script>

<style lang="scss" scoped>
.content {
  width: 345px;
  height: 172px;
  padding: 5px;
  margin: 0 auto;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  box-shadow: rgba(0, 0, 0, 0.24) 1px 3px 8px;
  .head {
    display: flex;
    .head_img {
      width: 32px;
      height: 32px;
      overflow: hidden;
      border-radius: 50%;
      img {
        width: 32px;
        height: 32px;
      }
    }
    .head_text {
      margin-left: 10px;
      .name {
        font-weight: 700;
        font-size: 12px;
      }
      .time {
        font-weight: 400;
        font-size: 10px;
        color: #eae9e5;
      }
    }
  }
  .text {
    padding: 0 5px 0 5px;
    font-weight: 400;
    font-size: 12px;
    text-align: left;
    line-height: 18px;
  }
  .picture {
    padding: 0 5px 0 5px;
    display: flex;
    .img_box {
      width: 60px;
      height: 60px;
      margin-right: 10px;
      border-radius: 5px;
      // background-color: skyblue;
      overflow: hidden;
      img {
        width: 60px;
        height: 60px;
        transform: scale(1.06);
      }
    }
  }
}
</style>